shred - Shared resource dispatcher
This library allows to dispatch systems, which can have interdependencies, shared and exclusive resource access, in parallel.
Usage
extern crate shred;
use ;
;
;
;
// Systems should be generic over the
// context if possible, so it's easy
// to introduce one.
Please see the benchmark for a bigger (and useful) example.
Required Rust version
1.20 stable
Features
- lock-free
- no channels or similar functionality used (-> less overhead)
- allows both automated parallelization and fine-grained control
Contribution
Contribution is highly welcome! If you'd like another feature, just create an issue. You can also help out if you want to; just pick a "help wanted" issue. If you need any help, feel free to ask!
All contributions are assumed to be dual-licensed under MIT/Apache-2.
License
shred
is distributed under the terms of both the MIT
license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT.